<?php
namespace app\admin\controller;

use think\Controller;

class Index extends Controller
{
    public function index()
    {
        return $this->fetch('index/index');
    }

    public function login()
    {
        return $this->fetch('login/login');
    }
    public function out(){
//        $_SESSION = $_SESSION['admin']['name'];
//        unset($_SESSION['admin']['name']);
        return $this->fetch('login/login');
    }

}
